<?php
namespace models\entities;
use classes; 
/**
 * @Entity(repositoryClass="models\repositories\CategoryPathRepository")
 * @Table(name="kategori_path")
 */
class CategoryPath {
 
/**
 * @Id
 * @OneToOne(targetEntity="Category")
 * @JoinColumn(name="kategori_id", referencedColumnName="id", onDelete="CASCADE")
 * 
 */
	protected $category;

/**
 * @Column(name="path", type="string")
 */
	protected $path;
		
		
	public function setCategory($category)
	{
	    $this->category = $category;
	}
 
	public function getCategory()
	{
	    return $this->category;
	}
	
	public function setPath($path){
		$this->path = $path;
	}
	
	public function getPath(){
		return $this->path;
	}	
}